package com.jyx.api.order;

import com.jyx.framework.domain.order.request.CreateOrderRequest;
import com.jyx.framework.domain.order.request.PayQrcodeRequest;
import com.jyx.framework.domain.order.response.CreateOrderResult;
import com.jyx.framework.domain.order.response.OrderResult;
import com.jyx.framework.domain.order.response.PayOrderResult;
import com.jyx.framework.domain.order.response.PayQrcodeResult;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.PathVariable;

import javax.servlet.http.HttpServletRequest;

@Api(value = "订单服务")
public interface OrderControllerApi {
    CreateOrderResult createOrder(CreateOrderRequest createOrderRequest, HttpServletRequest request);

    OrderResult queryOrderByNum(@PathVariable String orderNum,HttpServletRequest request);

    PayQrcodeResult createPayQrcode(String orderNumber);

    PayOrderResult queryPayResult(String orderNumber);

}
